<script setup lang="ts">
import { ref } from "vue";
import { getOriginData } from "./utils";

import AccountBook from "./components/AccountBook.vue";
import { AccountBookData } from "./type";
const originData = ref<AccountBookData[]>([]);

getOriginData().then((data) => {
  originData.value = data;
});
</script>

<template>
  <AccountBook :data="originData" />
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  margin-top: 60px;
}
</style>
